import com.troyworks.framework.ui.MCButton;
import com.troyworks.calc.CalcUI;
import com.troyworks.framework.ui.MCBackground;
/**
 * @author Troy Gardner
 */
class com.troyworks.calc.CalcBootstrapper {
	/**************************************************
	 * Called by the MTASC compiler with the '-main' flag
	 * set.
	 * 
	 */
	public static function main(container : MovieClip) : Void {
		//=========== Register Classes ================/
		Object.registerClass("CalcUI", CalcUI);
		Object.registerClass("MCButton", MCButton);
	//	Object.registerClass("MCBackground", MCBackground);
		//========== notify parent of load =================//
		var loadTarget_mc:MovieClip = (container == _root || container == _level1)?container:container._parent;
		loadTarget_mc.nextFrame();
    }
	
}